package com.xxx.Array;

import java.util.Arrays;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/20  10:49
 * @Copyright
 */
public class ArrayDome {
    public static void main(String[] args) {
        int[] ints = new int[]{1,2,3,4,6,5,};
        int[] ints1 = Arrays.copyOf(ints, 10);
        System.out.println("ints1 = " + Arrays.toString(ints1));
        Arrays.fill(ints,110);
        System.out.println("ints = " + Arrays.toString(ints));

    }
}
